package com.wenli.graduate2022.wenliGreenShop.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import java.io.Serializable;

/**产品订单
 * @author HuangHai
 * @date 2021/10/13 9:57
 */
@Data
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler" })
public class ProductOrderItem implements Serializable {
    private Integer productorderitemId;
    private Short productorderitemNumber;  //数量
    private Double productorderitemPrice;   //单价
    private Product productOrderItemProduct; //关联产品
    private Integer productorderitemOrderId;     //关联的订单
    private User productOrderItemUser;      // 关联用户
    private String productorderitemUserMessage;    // 用户备注
    private Boolean isReview;        //订单产品是否已经评价
}
